package cc.atliberty.structural.adapter.ex3;

import java.util.ArrayList;

/**
 * @Author 元宵
 * @url www.atliberty.cc
 * @Date 2023-10-31 08:02
 * @description:
 */
public class Client3 {
    public static void main(String[] args) {
        ArrayList<String> arr = new ArrayList<>();
        arr.add("中职");
        arr.add("高职");
        arr.add("专科");
        arr.add("本科");
        Itermeration it = new Itermeration(arr.iterator());
        while (it.hasMoreElements()) {
            System.out.println(it.nextElement());
        }
    }
}
